package com.emep.changzhi.analyse.repository.basics;

import com.emep.changzhi.analyse.entity.basics.SysMonitorSiteInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysMonitorSiteInfoRepository extends BaseRepository<SysMonitorSiteInfo,String> {

        List<SysMonitorSiteInfo>  findSysMonitorSiteInfoByAreaCode(String areaCode);
        SysMonitorSiteInfo findSysMonitorSiteInfoById(String id);
        List<SysMonitorSiteInfo> findAllByMonitorSiteNameAndIdNot(String monitorSiteName,String id);
        List<SysMonitorSiteInfo> findAllByMonitorSiteName(String name);
}
